import os

# 替换为你想要读取HTML文件的目录
directory = 'G:\\ututes\\Code\\tools\\ututes_html_process\\resources'

for filename in os.listdir(directory):
    # 拼接全路径
    filepath = os.path.join(directory, filename)
    if filename == "degree":
        print("学位课程:", filepath)
    elif filename == "programs":
        print("专业信息:", filepath)
    else:
        print("其他文件或文件夹:", filepath)
